// =======================================================================================
/*!
 * @file    Help.h
 *
 * @brief   Help dialog functions.
 *
 * @author  Jorge Ramos (jramos at pobox dot com).
 *
 * @version 1.0.0.0 - May 23, 2011.
 *          @li Initial version.
 *
 * @version 1.1.0.0 - Aug 06, 2011.
 *          @li Added SetHelpBufferSize and SetHelpFontStyle.
 *
 * @remarks Copyright (c) 2011 Jorge Ramos.
 *
 * @remarks This software is provided 'as-is', without any express or implied warranty.
 *          Use it at your own risk. In no event shall the authors or copyright holders
 *          be held liable for any damages arising from the use of this software. Use
 *          and redistribution in source and binary forms, with or without modification,
 *          are permitted. Altered source versions must be plainly marked as such.
 *
 * @remarks This software is distributed in the hope that it will be useful, but WITHOUT
 *          ANY WARRANTY.
 */
// =======================================================================================

#ifndef _Help_H_DA9444CA_6649_11DF_B321_0003FFCCBD00_
#define _Help_H_DA9444CA_6649_11DF_B321_0003FFCCBD00_

#ifdef _MSC_VER
#pragma once
#endif

//////////////////////////////////////////////////////////////////////////////////////////

#include "Defs.h"

//////////////////////////////////////////////////////////////////////////////////////////

struct HELPMSG_T
{
    INT x0;
    INT y0;
    LPCTSTR pszText;
    POINT pt;
    SIZE sz;
};

typedef struct HELPMSG_T HELPMSG;

//////////////////////////////////////////////////////////////////////////////////////////

#ifdef __cplusplus
extern "C" {
#endif

VOID SetHelpBufferSize (size_t nBufferSize);
VOID SetHelpFontStyle (DWORD dwStyle);
VOID DisplayHelpDlg (HELPMSG pHelpMsg [], UINT nCountMsg);
VOID DisplayHelpStd (VOID);

#ifdef __cplusplus
}
#endif

//////////////////////////////////////////////////////////////////////////////////////////

#endif

// =======================================================================================
